some practicing codes while learning