block diagram of the project