changed selection macro - rootfile output not correct yet