add package as a parameter