ruby correction working on