Add set-to function