basic version with all pages done