add explanation of this code's func in README