corrected code -> status