Adding mock code from Professor Herman