Creates target and data