some useful *.rb