clean up setValue and use new roxygen2 style