added some front end user code