Tray functionality added