Allow string as input