moved stopped instantiating the httpresponsecode class