Some reading material for you: http://michaeldmann.net/mann3b.html
https://www.ncbi.nlm.nih.gov/books/NBK21668/