Base case working
woking basecases