fixing example code to only include the target