changed initial validation of builder to throw illegalstateexception