added activities in case period check