An inline if, would be better readable