commenting unnecessary functions