should probably be `$shifts` to be consistent.