added new functions.
update build files.