add misc checks