aborted (core dumped) now.  issue is with popping a string