- fixed get_data call for generate_random
pass correct parameter(s) to generate_random function call