some front end work