default page refactored