functions for playout is added.