adding endpoints
using defaults instead of static data