added filter and ovverride functionalities.