set functions as static