trimming unnecessary info