Added tray code