changed type string to prop not char