locom_diff with changed naming convention. there is a syntax error that needs to be fixed