use strings instead of char*