is this ok as origin may be null ?