OCD - renamed sides, added isValid