First implementation of calendar