All assignments done for both bean and state pattern