removed trailing whitespace and supressed warnings(DANGEROUS)