fixed rCode file structure