adds package def