separate status decode method