joing front and backend part 1