Worked on second rung
worked on secon rung
added  conditions
minor format changes