added some stuff to the front end