added some front end stuff