need to add core in the constructor for now.