A novel way of doing decay spectroscopy at a radioactive ion beam facility