worked on recursive model building