strip out unnecessary stuf