2 dimensional array implemented