tabbed func def