cleanup - fixed some markdown issues with code inside lists - moved code around a bit