method initialization