make statuscode methods public