Added filter for input