More input checks