this is fun
introduced scanner and object_types
bug fixes