finished method accept goals that are not passed as arrays