Changed inputs to textarea and removed redundand code