Remove sprintf (rebased due to conflicts)

Supersedes #2