The oncomplete produce nothing. so I cant wrap it. I know this is not the best code, I will try to find something better than that...