added getalignedtarget()