declare static functions