made corrections to the code, removed binary as per the code review