added fromJSON instance