deleted obsolyte functions and attributes
many many changes
many many changes