stucturing code