building directory page