Deleting @tailrec on functions that are not tail recursive...