v1.0 working version