added checks so this can manage vs create once