added some front end interface