Functions in
core.h