added to conditions and if to javafy
added to conditions and if to javafy