tightened up comments and added __short_ans and __type_exists