replaced printf with pus