added level data, formatted code