added similar equal for testing