fixed indexstack errors, made declaring a component EVEN EASIER