added struct subsys so that we know each