Adding first pass of code