Draft Condition operations
More work on conditions
Cleaning up code and conditions almost work
Conditions work