Implentation of initial front-end