all the code i wrote