remove unessential code