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