some smarter, hopefully, checks