remove unneccessary val assignment