closes #100 use format for as()