* reduce scope
* use getNextCont
* use the correct type
* #pragma once