First package function