Source converting from binary to int