supposingly fixed front end code