pack some functions