opened up previously written front end code for testing