Allow for various target IDs

This needs reworking to use an array!