change the arguments order on getValue