basic calendar script, still need to incorporate it into the view.