new problems
new implementation of array added