Completed assignment B5