scala version of app