Converted a var to a val