adding end points