fix working arithmetic parser
swap
reworked arithmetic and added header parsing