Added insertElement method to calendar