log func it's okay.