For Davail Hill's simulation lab 5