checking layout