proxy check

should be promise instead?