function getContainer(creep) {
  if (!creep.data.container) {
    const structures = creep.pos.findInRange(FIND_STRUCTURES, 0, {filter: {structureType: STRUCTURE_CONTAINER}});
    if (structures.length === 0) {
      return;