version 1.0, but has some debug stuff still in