implemented inventory entry