changes in design and post controller