refactoring and textarea styling