simple dot parser modified a bit