added equal_to check