added sample and Oracle implementation