front end part 1