moved getequipment into level. set type on equipment