bug fix, definitions addition

definitions built up to the top tier deinition stmts
now adding variations of stmts