added cons by day anf final maps functions skeleton