Constructor initializes the value property correctly or something along these lines