20130701refined codes update