Added base outline code