proper status codes for tasks