first commit of basic api for conditions only