implmented more xdk apis