initial implementation of options, and initial filtering of tray