removed gettype