modified app added page variable