remember to reset ready count