put some checks in place