changed query imput to textarea