added one exception and ReadArray method