serial initialization