Front end integration
functional version with incomplete frontend