initialized components of panel