moved import to function for fuerte support