remove necessity for type