implement ruby transformations