Implemented preliminary front-end