declared static functions