adds funcitioning gingerice method