simple base case working properly where same original code is returned