changing parameters types of equip functions