made a few minor bug fixes, updated version to version 1.0