make signing properly optional