use input parameter
remove unneeded stuff
use longer lines
print statistics