adding array representation