Updated illegal assignment of values during declaration in header > moved to constructor