added generator for random steps