added new function to core
test