added some functions for equiping items