using tray service + revised eval function