added generate page, closes #4