to add binary coding