figuring out how to make year selector work