Is $cell() a custom alias you failed to produce with the rest of the code? Nice snippet though 9/10. :)