- rubyfied function