removed extra lines of code and storing only last cell-lang
changed variable name