Handling wandering mind