added and tested autoplayer