Turned on validation and added level calcs to ruby