initial setup of component