widget with service - working version