proper use of add_pkg