use standard libray as possible