changed error printing
added daemon to simulate put