finalizing hp layout