Arrays can be accessed, code improvement etc. Thx @unitpoint