first working version in 3.0