added convention for functions and ifs: opening bracket on the same line