Probably you don't want to use a pointer there, so use
var modeplayer
instead of
var* modeplayer.