make index variable more descriptive
use attr_reader for @shifts