added random selector