handles base case
recognizes 11