cleaned and stats added