implemented level initialization