wrote a tray.moves method