testing to see if pop array works