adding code library