val and var in Block