added buttons errywhere and guessed at removing pages, etc