Refactor 'arg' function