changed ruby format