this one was tricky - add input data later