Conditions and controller

Link to the project blog