A virtual sleepcoach for people suffering from insomnia