change function signature to provide options
and add to camel case option