measuring and layout