wrapped with checks