New F5 function, random function fix...