added filter input, filter validation