removed getType()