add alternative solution with using targets