Added endpoint creation