take out math from index