use less local vars. overwrite params not needed
note about used external programs