adding parser functions