got front end mostly working