modify class export function