added getter for targets and options