#33 Moved array check to check() method