base case sample