implemented numerical expressions
parse restore statements properly
fixed mistake in Reference repr