did some cleanup
cleaned up more
fixed bug causing negative arguments to -l to be halved