Added the ArraySample from class