pow() seems to be out by one here pow() seems to be out by one here c c