modified makeContentCell method and changed others accordingly and
corrected variable name