removed static from declaration in random_int()