graphics and layout