finished basic version of calendar