removed outputing code