made modifications to ruby box