Change getValues to val