functioning parser for values!