stupid front end stuff