modified presence tests
modified presence tests