fix some bugs, now start for further coding...