updated for ruby exercises