Implement clever curry for all column. Refactoring