removed old function
add new dependencies