add target and min version