added subtype to getitem()