Added code getter funcctionality
Added code getter functionality