initial answer to strain in ruby