finally got it right :)