Change statement to declaration