adding setup calculations