Refactor shiftBoard- reduce duplication assignments