add tray recognition