added textarea parameter, and more input parameter tweaks