add core sources