intermediate ruby