somehow I lost gettype()