trying to get this status code to work