refined layout
refined layout and wrote content