statistics feature added

small changes made to other areas….