Adding first rev of code