some front end stuff