add misc practice code