up until strcat() function done