changed to have opts as an optional hash