added changes related to pit position