typo as suggested in the PR
rename dependency as dependencies
simplier array