condition on data playing