removed duplicate methods
Merge pull request #432 from hardchor/duplicate-code-removal

Removed duplicate methods