some bits of my code