use tables for principal view