remove useless constructor, make `getCycle` private