made to output correctly