initially adding code