task logic is working