reset function did not exist. changed to [0]
Merge branch 'array_reset'