done assignment #27-31