some changes to frontend