Some small additions with recursive functions