signature parsing