added ruby and r syntax