complete the basic CNN