changes applied to rb files