added dino functions