evaluate app function