rename cap/len methods