removed unnecessary endpoint