counting
corrected xP