added accessor for length property