remove unused comments and functions