demo for ex07&project01 and assignment for ex08