feature: adding ref target support