array fix, example added
readme updated