extract only parts that matters