Check for self assignment
Hand indent to make code easier to read