Private variables needs to be set properly