added some stuff to the end