implemented binary method