chaning related to text instead of drop down