How technology creates smart methods for treating cancer