control code complete, not debug yet.
control code, debuged, not finished yet