use constants for status codes