trying to send in tray id as parameter