Added getAllIds() Method