Is the use of ? : operator preferred over if else? If that's the case I can change it to that but I find normal if else statements easier to read.