moved assignment init