Change paramater name idx to square