deleted getComments file and added documentation