add core runner
add weight param