a little bit of simplification
Delete obsolete endpoint