Using wrong function for Create client