finializing assignment #3