added most of the outline that will be needed for the conversion