changed to use with object packages