further work on separated frontend