adding begin of app