extern fun debuged