using internal frame instead of tabs