Take in count that even data.package could be undefined