added textarea support