Something i've done based on stuff from codecademy.