Minor refactor

layer variable added - but year still doesn't update within the layers
array