Successful push to array as well as resizing