fixing compilation error - commenting unnecessary function