removed redundant endpoint