added signature algorithm output, adjusted output