remove code duplication; add equ_utilities.erl