add custom endpoint