Wanted to use recursion.. didnt