initial version working with static pages