added array check methods