added poole layout and custom domain