remove the non essential parts