added signature functionality