added more text box for components but still needs fixing