added Fire-groupID
added javadoc for all functions