greatly improved speed using binaries