Completed Hardware Code v1.0