added random trend endpoint