refactored function adec; Added alias for find