improved docstrings - added time.sleep() parameters - added daemon functions