Minor changes: type usage explanation, slicing warning, functions declaration sum up