Use correct math functions!