removed commented code for view counts