take out types from val decls