remove external dependency