added new binary version and updated code