added otherplayers to app variable and updated related code