change object-oriented to function-oriented
new built file