improve code paper