added 'potential' to internal.core.generic.cpp