fredv assignment5