enhance help, improve ruby code