Create base only when it's needed