added reset all parts function