added core option to control