adding some packages + save() func