closer to final version

new parser method