remove unncessary code.