adding support for multiple columns in template
adding support for multiple columns in template