Adding endpoint