hoist this out of the loop