added validation for tray items