First version with front end