remove unncessary code