add missing defuns