moved the end in production file