added array pop, push and data methids