Removing check() that is failing as it seems to function when removed