testing for presence