change to do ... end syntax