if struct only accept boolean
update syntax of if and while
buildin_objects