Doesn't compile. Change value calculations; accept features