f_before_play