Added implementation for extract