A simple random generator for effin