random gen added