made all the code