removed unused code and added item