Refactor, ctx is already in scope and doesn't need to be passed to create