updating with version that actually works