this `if` looks fishy (the first condition is superfluous right now)