adding stuff for types and statements