Changed fromString to be static