base case should now worj better