tore out fragment support and the basic code put in by the IDE