scal! helper method returns the input array