initial ruby attempts