For CS 470 @ BYU