I just think that having the value returned in the 5 first `if` statements that are just 1 line loggers just to keep it a `val` looks way uglier, but I can change.