whoops, forgot to include stdio when using sprintf