added random for the main page