fixed prefixes, simplified rand