Added callbacks to the start and complete functions;