top table implementation
top table implementation