removed method withFailEffect which did the same as failureEffect