Added length method and each method