updated Assignment09 style