Updated code file for shared use