added more maths to file