for my CS 313 class