now using memory wisely - manageItem