filling and formatting - incomplete