added brackets to the shift map