transferred some functions to MyLib(coming soon)