remoming the object log method