More private functions in app