started adding user filter for algorithm