removed external dependency