support helper functions for status codes