added > 1950 restriction to code