outer container was unneceassary removed completely
neated the code to give to tarun