Added base function.