working version, infobox needs help though