added some front end functionality