Refactor luck_reader