supports array dependencies