added random class