made some modification according to the given binaries