Created `getCalList' function, needs to be tested