Fixed temp. functions
Front-end code and backend for the front-end.