adding dependencies check