added some prelimanary stats work
added preliminary stats work