main feature finished.