change 4b.cf to meet the constructor defined in doorcontrol