added support for textarea