Changed name of variable, added TODO after testing of error state handling.