assignment3 in frontend added