updated example to use string in require