Reference Error Cannot Access Before Initialization