commit:9 top function working