First ruby code, seems to work