added fromHexString method