first commit but some basic targeting logic