How does conditions work?