added filter field and reacting to form submit