slimming of code

Cleaned up file