removed unused log method