Documentation
Removed redundent function