before getValues