formalize endpoint initialization