updating to a working version