updated check for infobox
added title
fixed indents, added triggers and signal