Replaced import math