My personal ruby code