removes all non essential