further work on frontend