[WIP] Add conditions manager

unused variable?