full selfparser, not tested