added second calculation period
added visual support for 2 calculation periods