Imported a huge chunk of code