in JS, opening brackets needs to be at the end of the line