move asec formatting to template