Created plan for random student function