code finished.. starting write the tutorial