reading status codes from constants