mock button
generate If block
check sub diagram links