removed validate for userkey
added average run length