only define packages if they are not defined elsewhere