code improvements for LoadFromArray class