working on stats for statements
merge in changes pulled