1 change funcname in noRepeatRand to calling outside package

2 add main package and profile frame