modified template to look right