you can use type() to return an instance of class