deleted the old methods.
Revert "deleted the old methods."

This reverts commit 682f26a9b765182a1d96389c757a2ea93c5b2bfb.
deleted old methods.