added controlling ruby thing