switched over to random init function