Commented the backend code