Fixed errors from not checking for arrays of zero length
adding stub for mou