bug fix
add evaluate_agent_condition
change optimization
add make visible/invisible
update sample layout