Added array empty method