Imported code

First import of code (main idea)