Rewrite basicPlayer, fixed bug in basicLog