trying stuff - iterating through inputList on each element