For use in my CS246 Class