front end structure implementation 2