implementing the api
added endpoint in constructors
ignores