mapping between statistics and status is done
few refactoring is done