ok, I have rewrited the code to what I want