switching from [][] to ()