Added source code for B and initial images