Fixed main to add timing; Creating control points only once