Little bit of optimization, made it harder to read.