ruby backend implemented