changed to refer to var ruby