adding more static functions

adding more static functions