main page prototype