Added support for mulitplayer input