setting core as a requisite for execution; passing core as a parameter