moved method to core.dll