refactor log checking to the push method
refactor to clean up syntax my moving logic to manager