footprint calculation added