Problem found! Yields couldn't be called from functions called from process-functions