started implementing loadByType(...)