ported interfaces to new threading functions (incomplete)