added random 5 to 7