Broken but getting out put properly