version that works in production