Add in length endpoint