Resolved the functions which were causing error(the old viewInformation function).