added "app" method