created class daemonWork. Barely working?