giving final touches to assignment 6