Cleaned up get_page()