deleted old comment
Fixed some formatting issues and bug with recursion