added invetory fucntionality