proper version that work better

more stable version