added lots of comments to cal