check out the "val" function