added repeat play mode