note on mikiplayerauto function