add flat table cell renderer 
refactoring