started applying custom states to queue processing