add getter and setter for core image