removed debugging printouts and changed version to 1.0