change the first argument of equal to be the output
cleanup