Lab3, ruby compatability