add readycallback to the data pipeline