maked binOut code a bit more compact