removed obsolete imports and reformatted text