made some changes to the backend