removed val, fixed syntax