equal was the function I was looking for