updated from char*'s to strings