Sempahore and Binary translator