added some front-end work