bring all targets into one function